import authRequest from "../supports/requests/authRequest";

export function payOrderByBalance(id) {
  return authRequest('pays/orders/' + id + '/balance', { method: 'post' })
}
export function payBoxByBalance(id) {
  return authRequest('pays/boxes/orders/' + id + '/balance', { method: 'post' })
}

export function payOrderBySpend(id) {
  return authRequest('pays/orders/' + id + '/spend', { method: 'post' })
}

export function payOrderByWxmini(id) {
  return authRequest('pays/orders/' + id + '/wxmini', { method: 'post' })
}

export function payVipPurchaseByBalance(id) {
  return authRequest('pays/vip/purchases/' + id + '/balance', { method: 'post' })
}

export function payVipPurchaseByWxmini(id) {
  return authRequest('pays/vip/purchases/' + id + '/wxmini', { method: 'post' })
}

export function payOrderByAdapayWxmini(id) {
  return authRequest('pays/orders/' + id + '/ada/wxmini', { method: 'post' })
}

export function payVipPurchaseByAdapayWxmini(id) {
  return authRequest('pays/vip/purchases/' + id + '/ada/wxmini', { method: 'post' })
}

export function payGoldChargeByAdapayWxmini(id) {
  return authRequest('pays/gold/charges/' + id + '/ada/wxmini', { method: 'post' })
}

export function payOrderByAliwap(id) {
  return authRequest('pays/orders/' + id + '/aliwap', { method: 'post' })
}

export function payVipPurchaseByAliwap(id) {
  return authRequest('pays/vip/purchases/' + id + '/aliwap', { method: 'post' })
}

export function payGoldChargeByAlipay(id) {
  return authRequest('pays/gold/charges/' + id + '/aliwap', { method: 'post' })
}

export function payOrderByGoldCoin(id) {
  return authRequest('pays/orders/' + id + '/gold/coin', { method: 'post' })
}

export function paysGoldChargesBySandwx(id) {
  return authRequest('pays/gold/charges/'+ id + '/sandwx', { method: 'post' })
}

export function paysGoldChargesBySandwap(id) {
  return authRequest('pays/gold/charges/'+ id + '/sandwap', { method: 'post' })
}






